package net.muchine.test.ddd.domain;

public class Product {
	private Long id;
	private String name;
	private Money price;
	
	public Product() {}
	
	public Product(String name, long price) {
		this.name = name;
		this.price = new Money(price);
	}
	
	public Product(String name, Money price) {
		this.name = name;
		this.price = price;
	}

	public String getName() {
		return this.name;
	}
	
	public Money getPrice() {
		return this.price;
	}
}
